package com.runa.monitor.platinterface.extend.httpSimilar.liantong;


import com.runa.monitor.platinterface.extend.third.service.IThirdPartOfMeterService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@Slf4j
@RestController
@RequestMapping("comm")
public class CommNewestController {

    @Resource
    private IThirdPartOfMeterService thirdPartOfMeterService;

    /**
     * 测试联通对接
     */
    @PostMapping("/receiveDataForLianTong")
    public String receiveDataForLianTong(@RequestBody String body) {
        log.info("NB联通对接数据---receiveData:" + body);
        return "Comm OK";
    }

}
